package com.crm.dao.mapper.trainingManager;

import com.crm.model.entity.trainingManager.TrainingDemandItem;
import com.crm.model.entity.trainingManager.TrainingDemandItemExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TrainingDemandItemMapper {
    long countByExample(TrainingDemandItemExample example);

    int deleteByExample(TrainingDemandItemExample example);

    int deleteByPrimaryKey(String trainingDemandItemId);

    int insert(TrainingDemandItem record);

    int insertSelective(TrainingDemandItem record);

    List<TrainingDemandItem> selectByExample(TrainingDemandItemExample example);

    TrainingDemandItem selectByPrimaryKey(String trainingDemandItemId);

    int updateByExampleSelective(@Param("record") TrainingDemandItem record, @Param("example") TrainingDemandItemExample example);

    int updateByExample(@Param("record") TrainingDemandItem record, @Param("example") TrainingDemandItemExample example);

    int updateByPrimaryKeySelective(TrainingDemandItem record);

    int updateByPrimaryKey(TrainingDemandItem record);
}